//#include "Statistics.h"
void stats::clear()
{
	shaders_change = 0;
	texture_change = 0;
}

int stats::FreeVideoMem()
{
	int param[4];
	param[0] = 0;
	glGetIntegerv(TEXTURE_FREE_MEMORY_ATI,param);
	return param[0];
}

int stats::FreeVBOMem()
{
	int param[4];
	param[0] = 0;
	glGetIntegerv(VBO_FREE_MEMORY_ATI,param);
	return param[0];
}

int stats::FreeTextureMem()
{
	int param[4];
	param[0] = 0;
	glGetIntegerv(TEXTURE_FREE_MEMORY_ATI,param);
	return param[0];
}

int stats::FreeRenderbufferMem()
{
	int param[4];
	param[0] = 0;
	glGetIntegerv(RENDERBUFFER_FREE_MEMORY_ATI,param);
	return param[0];
}

